package org.easy.tool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author Valley
 * Created by Valley on 2023/8/30 15:10
 */
@Getter
@Setter
@TableName("test_user_problem")
public class UserProblemDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("user_id")
    private String userId;

    @TableField("problem_id")
    private String problemId;

    /**
     * status：1正确，2错误
     */
    private int status;

    private int score;

    @TableField("create_time")
    private String createTime;

    private Integer deleted;



}
